package com.iyanbao.ui.model;

import android.widget.TextView;

import com.iyanbao.model.Service;

public class MechineServiceHolder {
	public TextView serviceName;
	public TextView serviceStatus;
	public TextView serviceType;
	
	public TextView serviceStartDate;
	public TextView serviceStartEndDate;
	public TextView serviceDelivered;
	
	public void setEntity (Service s) {
		
		this.serviceName.setText(s.serviceName);
		this.serviceStatus.setText(s.serviceStatus);
		this.serviceType.setText(s.serviceType);
		
		this.serviceStartDate.setText(s.serviceStartDate);
		this.serviceStartEndDate.setText(s.serviceEndDate);
		this.serviceDelivered.setText(s.deliverable);
	
	}
	
	
	
	

}
